set(sources 
weather.c
weather.h
weather-config.c		
weather-config.h		
weather-data.c			
weather-data.h			
weather-http.c			
weather-http.h			
weather-icon.c			
weather-icon.h			
weather-parsers.c		
weather-parsers.h		
weather-scrollbox.c		
weather-scrollbox.h		
weather-search.c		
weather-search.h		
weather-summary.c		
weather-summary.h		
weather-translate.c		
weather-translate.h		
xfce-panel-plugin.h
xfce-panel-plugin.c 
xfce-fake.c
xfce-fake.h
)

INCLUDE(FindPkgConfig)

FIND_PACKAGE(PkgConfig REQUIRED) 
 
pkg_check_modules(GTK REQUIRED gtk+-2.0)
pkg_check_modules(XML REQUIRED libxml-2.0)


include_directories(
${GTK_INCLUDE_DIRS} 
${XML_INCLUDE_DIRS} 
)


link_directories(
${GTK_INCLUDE_DIRS}
${XML_INCLUDE_DIRS} 
) 


add_executable(${PROJECT_NAME} ${sources})

target_link_libraries(
${PROJECT_NAME} 
${GTK_LIBRARIES}
${XML_LIBRARIES} 
)

install (TARGETS ${PROJECT_NAME} RUNTIME DESTINATION ./)
